package com.design.pattern.createmode.singleton;

public class SingletonExample_04_02 extends SingletonExample_04_01 {
    public static SingletonExample_04_02 getInstance(){
        return (SingletonExample_04_02)getSingleton(SingletonExample_04_02.class.getName());
    }

    public static void main(String[] args) {
        SingletonExample_04_02 singletonExample_04_02 = SingletonExample_04_02.getInstance();
        System.out.println(singletonExample_04_02.toString());

    }
}
